<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章列表--邻助社区管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form">
    <table id="newsList" lay-filter="newsList"></table>
    <!--审核状态-->
    <script type="text/html" id="newsStatus">
        {{#  if(d.isCheck == 1){ }}
        <span class="layui-green">显示</span>
        {{#  } else if(d.isCheck == -1){ }}
        <span class="layui-gray">不予采纳</span>
        {{#  } else if(d.isCheck == 0){ }}
        <span class="layui-gray">未审核</span>
        {{#  }  }}
    </script>

    <!--操作-->
    <script type="text/html" id="newsListBar">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
<!--        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>-->
        <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>
    </script>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="postNewsList.js"></script>
<script type="text/javascript" src="/news/front/js/api.js"></script>
<!-- 单选框 -->
<script type="text/html" id="newsIsCheckBox">
    <input type="checkbox" name="newsCheck" lay-filter="newsCheck" lay-skin="switch" lay-text="是|否" value="{{d.isCheck}}"
           article_id={{d.id}}   {{ d.isCheck == 1 ? 'checked' : '' }}
</script>
</body>
</html>